home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / inspector / inIFlasher.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  6KB  |  180 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM inIFlasher.idl
  3.  */
  4.  
  5. #ifndef __gen_inIFlasher_h__
  6. #define __gen_inIFlasher_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMDocument; /* forward declaration */
  18.  
  19. class nsIDOMElement; /* forward declaration */
  20.  
  21. class nsIDOMWindowInternal; /* forward declaration */
  22.  
  23.  
  24. /* starting interface:    inIFlasher */
  25. #define INIFLASHER_IID_STR "7b4a099f-6f6e-4565-977b-fb622adbff49"
  26.  
  27. #define INIFLASHER_IID \
  28.   {0x7b4a099f, 0x6f6e, 0x4565, \
  29.     { 0x97, 0x7b, 0xfb, 0x62, 0x2a, 0xdb, 0xff, 0x49 }}
  30.  
  31. class NS_NO_VTABLE inIFlasher : public nsISupports {
  32.  public: 
  33.  
  34.   NS_DEFINE_STATIC_IID_ACCESSOR(INIFLASHER_IID)
  35.  
  36.   /* attribute DOMString color; */
  37.   NS_IMETHOD GetColor(nsAString & aColor) = 0;
  38.   NS_IMETHOD SetColor(const nsAString & aColor) = 0;
  39.  
  40.   /* attribute boolean invert; */
  41.   NS_IMETHOD GetInvert(PRBool *aInvert) = 0;
  42.   NS_IMETHOD SetInvert(PRBool aInvert) = 0;
  43.  
  44.   /* attribute unsigned short thickness; */
  45.   NS_IMETHOD GetThickness(PRUint16 *aThickness) = 0;
  46.   NS_IMETHOD SetThickness(PRUint16 aThickness) = 0;
  47.  
  48.   /* void drawElementOutline (in nsIDOMElement aElement); */
  49.   NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement) = 0;
  50.  
  51.   /* void repaintElement (in nsIDOMElement aElement); */
  52.   NS_IMETHOD RepaintElement(nsIDOMElement *aElement) = 0;
  53.  
  54.   /* void scrollElementIntoView (in nsIDOMElement aElement); */
  55.   NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) = 0;
  56.  
  57. };
  58.  
  59. /* Use this macro when declaring classes that implement this interface. */
  60. #define NS_DECL_INIFLASHER \
  61.   NS_IMETHOD GetColor(nsAString & aColor); \
  62.   NS_IMETHOD SetColor(const nsAString & aColor); \
  63.   NS_IMETHOD GetInvert(PRBool *aInvert); \
  64.   NS_IMETHOD SetInvert(PRBool aInvert); \
  65.   NS_IMETHOD GetThickness(PRUint16 *aThickness); \
  66.   NS_IMETHOD SetThickness(PRUint16 aThickness); \
  67.   NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement); \
  68.   NS_IMETHOD RepaintElement(nsIDOMElement *aElement); \
  69.   NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement); 
  70.  
  71. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  72. #define NS_FORWARD_INIFLASHER(_to) \
  73.   NS_IMETHOD GetColor(nsAString & aColor) { return _to GetColor(aColor); } \
  74.   NS_IMETHOD SetColor(const nsAString & aColor) { return _to SetColor(aColor); } \
  75.   NS_IMETHOD GetInvert(PRBool *aInvert) { return _to GetInvert(aInvert); } \
  76.   NS_IMETHOD SetInvert(PRBool aInvert) { return _to SetInvert(aInvert); } \
  77.   NS_IMETHOD GetThickness(PRUint16 *aThickness) { return _to GetThickness(aThickness); } \
  78.   NS_IMETHOD SetThickness(PRUint16 aThickness) { return _to SetThickness(aThickness); } \
  79.   NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement) { return _to DrawElementOutline(aElement); } \
  80.   NS_IMETHOD RepaintElement(nsIDOMElement *aElement) { return _to RepaintElement(aElement); } \
  81.   NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) { return _to ScrollElementIntoView(aElement); } 
  82.  
  83. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  84. #define NS_FORWARD_SAFE_INIFLASHER(_to) \
  85.   NS_IMETHOD GetColor(nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColor(aColor); } \
  86.   NS_IMETHOD SetColor(const nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColor(aColor); } \
  87.   NS_IMETHOD GetInvert(PRBool *aInvert) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInvert(aInvert); } \
  88.   NS_IMETHOD SetInvert(PRBool aInvert) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInvert(aInvert); } \
  89.   NS_IMETHOD GetThickness(PRUint16 *aThickness) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetThickness(aThickness); } \
  90.   NS_IMETHOD SetThickness(PRUint16 aThickness) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetThickness(aThickness); } \
  91.   NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->DrawElementOutline(aElement); } \
  92.   NS_IMETHOD RepaintElement(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->RepaintElement(aElement); } \
  93.   NS_IMETHOD ScrollElementIntoView(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollElementIntoView(aElement); } 
  94.  
  95. #if 0
  96. /* Use the code below as a template for the implementation class for this interface. */
  97.  
  98. /* Header file */
  99. class inFlasher : public inIFlasher
  100. {
  101. public:
  102.   NS_DECL_ISUPPORTS
  103.   NS_DECL_INIFLASHER
  104.  
  105.   inFlasher();
  106.  
  107. private:
  108.   ~inFlasher();
  109.  
  110. protected:
  111.   /* additional members */
  112. };
  113.  
  114. /* Implementation file */
  115. NS_IMPL_ISUPPORTS1(inFlasher, inIFlasher)
  116.  
  117. inFlasher::inFlasher()
  118. {
  119.   /* member initializers and constructor code */
  120. }
  121.  
  122. inFlasher::~inFlasher()
  123. {
  124.   /* destructor code */
  125. }
  126.  
  127. /* attribute DOMString color; */
  128. NS_IMETHODIMP inFlasher::GetColor(nsAString & aColor)
  129. {
  130.     return NS_ERROR_NOT_IMPLEMENTED;
  131. }
  132. NS_IMETHODIMP inFlasher::SetColor(const nsAString & aColor)
  133. {
  134.     return NS_ERROR_NOT_IMPLEMENTED;
  135. }
  136.  
  137. /* attribute boolean invert; */
  138. NS_IMETHODIMP inFlasher::GetInvert(PRBool *aInvert)
  139. {
  140.     return NS_ERROR_NOT_IMPLEMENTED;
  141. }
  142. NS_IMETHODIMP inFlasher::SetInvert(PRBool aInvert)
  143. {
  144.     return NS_ERROR_NOT_IMPLEMENTED;
  145. }
  146.  
  147. /* attribute unsigned short thickness; */
  148. NS_IMETHODIMP inFlasher::GetThickness(PRUint16 *aThickness)
  149. {
  150.     return NS_ERROR_NOT_IMPLEMENTED;
  151. }
  152. NS_IMETHODIMP inFlasher::SetThickness(PRUint16 aThickness)
  153. {
  154.     return NS_ERROR_NOT_IMPLEMENTED;
  155. }
  156.  
  157. /* void drawElementOutline (in nsIDOMElement aElement); */
  158. NS_IMETHODIMP inFlasher::DrawElementOutline(nsIDOMElement *aElement)
  159. {
  160.     return NS_ERROR_NOT_IMPLEMENTED;
  161. }
  162.  
  163. /* void repaintElement (in nsIDOMElement aElement); */
  164. NS_IMETHODIMP inFlasher::RepaintElement(nsIDOMElement *aElement)
  165. {
  166.     return NS_ERROR_NOT_IMPLEMENTED;
  167. }
  168.  
  169. /* void scrollElementIntoView (in nsIDOMElement aElement); */
  170. NS_IMETHODIMP inFlasher::ScrollElementIntoView(nsIDOMElement *aElement)
  171. {
  172.     return NS_ERROR_NOT_IMPLEMENTED;
  173. }
  174.  
  175. /* End of implementation class template. */
  176. #endif
  177.  
  178.  
  179. #endif /* __gen_inIFlasher_h__ */
  180.